<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>班级管理平台</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../css/iconfont.css" />
	<link rel="icon" href="favicon.ico">
	<link rel="stylesheet" href="../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="css/index.css" media="all" />
</head>
<body class="main_body">
	<div class="layui-layout layui-layout-admin">
		<!-- 顶部 -->
		<div class="layui-header header">
			<div class="layui-main mag0">
				<a href="#" class="logo" style="margin-left: -20px; color:#1aa094;font-size: 18px;font-weight: bold;">后台管理系统</a>
				<!-- 显示/隐藏菜单 -->
				<a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
				<!-- 顶级菜单 -->
				<!--<ul class="layui-nav topLevelMenus" pc>
					<li class="layui-nav-item layui-this" data-menu="contentManagement">
						<a href="javascript:;"><i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i><cite>内容管理</cite></a>
					</li>
					<li class="layui-nav-item" data-menu="memberCenter" pc>
						<a href="javascript:;"><i class="seraph icon-icon10" data-icon="icon-icon10"></i><cite>用户中心</cite></a>
					</li>
					<li class="layui-nav-item" data-menu="systemeSttings" pc>
						<a href="javascript:;"><i class="layui-icon" data-icon="&#xe620;">&#xe620;</i><cite>系统设置</cite></a>
					</li>
					<li class="layui-nav-item" data-menu="seraphApi" pc>
						<a href="javascript:;"><i class="layui-icon" data-icon="&#xe705;">&#xe705;</i><cite>使用文档</cite></a>
					</li>
				</ul>-->
			    <!-- 顶部右侧菜单 -->
			    <ul class="layui-nav top_menu">
					<!--<li class="layui-nav-item" pc>-->
						<!--<a href="javascript:;" class="clearCache"><i class

						‘="layui-icon" data-icon="&#xe640;">&#xe640;</i><cite>清除缓存</cite><span class="layui-badge-dot"></span></a>-->
					<!--</li>-->
					<li class="layui-nav-item" id="userInfo">
						<a href="javascript:;"><cite class="adminName">操作</cite></a>
						<dl class="layui-nav-child">
							<dd><a href="page/login/login.html" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		<!-- 左侧导航 -->
		<div class="layui-side layui-bg-black">
			<!-- 搜索 -->
			<!--<div class="layui-form component">-->
				<!--<select name="search" id="search" lay-search lay-filter="searchPage">-->
					<!--<option value="">搜索页面或功能</option>-->
					<!--<option value="1">layer</option>-->
					<!--<option value="2">form</option>-->
				<!--</select>-->
				<!--<i class="layui-icon">&#xe615;</i>-->
			<!--</div>-->
			<div class="navBar layui-side-scroll" id="navBar">
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item layui-this">
						<a href="javascript:;" data-url="page/main.html"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>
					</li>
				</ul>
			</div>
		</div>
		<!-- 右侧内容 -->
		<div class="layui-body layui-form">
			<div class="layui-tab mag0" lay-filter="bodyTab" id="top_tabs_box">
				<ul class="layui-tab-title top_tab" id="top_tabs">
					<li class="layui-this" lay-id=""><i class="layui-icon">&#xe68e;</i> <cite>后台首页</cite></li>
				</ul>
				<ul class="layui-nav closeBox">
				  <li class="layui-nav-item">
				    <a href="javascript:;"><i class="layui-icon caozuo">&#xe643;</i> 页面操作</a>
				    <dl class="layui-nav-child">
				      <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
				      <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
				    </dl>
				  </li>
				</ul>
				<div class="layui-tab-content clildFrame">
					<div class="layui-tab-item layui-show">
						<iframe src="page/main.html"></iframe>
					</div>
				</div>
			</div>
		</div>
		<!-- 底部 -->
		<!--<div class="layui-footer footer">-->
		<!--</div>-->
        <div class="layui-footer"></div>
		<div class="layui-footer footer">
            <div class="layui-tab-item layui-show">
			</div>
		</div>
	</div>
	<script src='../js/jquery-1.11.1.js'></script>
	<script src='../js/jquery.cookie.js'></script>
	<script src='../js/ip.js'></script>
	<script type="text/javascript" src="../layui/layui.js"></script>
	<script type="text/javascript" src="js/index.js"></script>
	<script type="text/javascript" src="js/cache.js"></script>
    <script>
    	$(function(){
    	    console.log($.cookie('tokenAdNum'));
    	    var adminName;
//  	 	$.ajax({
//	            type: "GET",
//	            headers: {
//	                token :  $.cookie('tokenA')
//	            },
//	            url: api+"user/list",
//	            data: {
//	               pageSize:10,
//	               pageNum:1,
//	               admin:1
//	            },
//	            success: function(result){
//	            	tableData = result.data.list;
//	            	for(var i=0; i<tableData.length;i++){
//	            		if(tableData[i].number == $.cookie('tokenAdNum')){
//		            		adminName = tableData[i].username;
//		            	}
//	            	}
//                  $('.adminName').html(adminName+"12"); 
//	            }
//	        });
    	})
    </script>
	
</body>
</html>